package com.xltx.log.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * LogProperties
 *
 * @author yqkj
 * @since 2024/4/19 11:37
 */
@ConfigurationProperties(prefix = LogProperties.PREFIX)
@Component
public class LogProperties {

    public static final String PREFIX = "xltx.log";

    /**
     * 接口地址
     */
    private String url;

    /**
     * 端口
     */
    private Integer port;

    /**
     * 系统名称
     */
    private String name;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
